using PCUT.Entities; using System; using System.Collections.Generic; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; namespace PCUT.API.Managers { public class CategoryManager : ManagerBase, ICategoriesBase { string path = "http://192.168.1.106:3000/api/categories"; public async Task CreateAsync(Categories entity) { try { return await ApiClient.CreateAsync(path, entity); } catch { return null; } } public Task DeleteAsync(int id) { throw new NotImplementedException(); } public Task> GetAllAsync() { throw new NotImplementedException(); } public Task GetByIdAsync(int id) { throw new NotImplementedException(); } public Task UpdateAsync(int id, Categories entity) { throw new NotImplementedException(); } } }