Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Farmatiko/Controllers/MedicineListController.cs

    rc406ae5 ra55ef91  
    11using System.Collections.Generic;
    22using System.Linq;
    3 using System.Threading.Tasks;
    43using FarmatikoData.Models;
    54using FarmatikoServices.FarmatikoServiceInterfaces;
     
    1817        }
    1918        [HttpGet]
    20         public Task<IQueryable<MedicineList>> Get()
     19        public IQueryable<MedicineList> Get()
    2120        {
    2221            return _medicineListService.GetAll();
    2322        }
    2423        [HttpGet]
    25         public Task<ICollection<MedicineList>> GetByName(string Name)
     24        public ICollection<MedicineList> GetByName(string Name)
    2625        {
    2726            return _medicineListService.GetByName(Name);
    2827        }
    2928        [HttpGet]
    30         public Task<ICollection<MedicineList>> GetByManufacturer(string Manufacturer)
     29        public ICollection<MedicineList> GetByManufacturer(string Manufacturer)
    3130        {
    3231            return _medicineListService.GetByManufacturer(Manufacturer);
Note: See TracChangeset for help on using the changeset viewer.