public Dictionary <string, int> Get() { var service = new ApkService(new ApKRepository(new ApkContext())); return(service.GetCategorys()); }
public IEnumerable <ItemModel> GetItems() { var service = new ApkService(new ApKRepository(new ApkContext())); return(service.GetAllItems()); }
public IEnumerable <ItemModel> GetItemsForCatagory(string catagory) { var service = new ApkService(new ApKRepository(new ApkContext())); return(service.GetItemsPerCatagory(catagory)); }