Ignore:
Timestamp:
08/05/20 18:39:58 (2 years ago)
Author:
DimitarSlezenkovski <dslezenkovski@…>
Branches:
master
Children:
63d885e
Parents:
a6bbad1
Message:

Update Models, Repos, Services and Controllers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • FarmatikoServices/FarmatikoServiceInterfaces/IMedicineService.cs

    ra6bbad1 rc406ae5  
    11using FarmatikoData.Models;
    22using System.Linq;
     3using System.Threading.Tasks;
    34
    45namespace FarmatikoServices.FarmatikoServiceInterfaces
     
    67    public interface IMedicineService
    78    {
    8         IQueryable<Medicine> GetAll();
     9        Task<IQueryable<Medicine>> GetAll();
    910        void Add(Medicine medicine);
    10         void Remove(string Medicine);
    11         IQueryable<Medicine> GetByName(string Name);
    12         IQueryable<Medicine> GetByManufacturer(string Manufacturer);
     11        void Remove(Medicine Medicine);
     12        Task<IQueryable<Medicine>> GetByName(string Name);
     13        Task<IQueryable<Medicine>> GetByManufacturer(string Manufacturer);
    1314    }
    1415}
Note: See TracChangeset for help on using the changeset viewer.