| 1 | using Core.Models; |
| 2 | using System; |
| 3 | using System.Collections.Generic; |
| 4 | using System.Linq; |
| 5 | using System.Text; |
| 6 | using System.Threading.Tasks; |
| 7 | |
| 8 | namespace Core.Servicers.Interfaces |
| 9 | { |
| 10 | public interface ICategorys |
| 11 | { |
| 12 | ///<summary> |
| 13 | /// |
| 14 | ///</summary> |
| 15 | ///<returns></returns> |
| 16 | List<CategoryModel> GetCategories(); |
| 17 | ///<summary> |
| 18 | /// |
| 19 | ///</summary> |
| 20 | void Load(); |
| 21 | CategoryModel GetCategory(int id); |
| 22 | CategoryModel Create(CategoryModel category); |
| 23 | void Update(CategoryModel category); |
| 24 | void Delete(CategoryModel category); |
| 25 | } |
| 26 | } |