Ignore:
Timestamp:
07/31/20 10:15:02 (3 years ago)
Author:
DimitarSlezenkovski <dslezenkovski@…>
Branches:
master
Children:
d8fafb8
Parents:
4e72684
Message:

Update & add service

File:
1 edited

Legend:

Unmodified
Added
Removed
  • FarmatikoServices/FarmatikoServiceInterfaces/IMedicineService.cs

    r4e72684 ra55ef91  
    11using FarmatikoData.Models;
    2 using System;
    3 using System.Collections.Generic;
    4 using System.Text;
     2using System.Linq;
    53
    64namespace FarmatikoServices.FarmatikoServiceInterfaces
     
    86    public interface IMedicineService
    97    {
    10         IEnumerable<Medicine> GetAll();
     8        IQueryable<Medicine> GetAll();
    119        void Add(Medicine medicine);
    1210        void Remove(string Medicine);
    13         IEnumerable<Medicine> GetByName(string Name);
    14         IEnumerable<Medicine> GetByManufacturer(string Manufacturer);
     11        IQueryable<Medicine> GetByName(string Name);
     12        IQueryable<Medicine> GetByManufacturer(string Manufacturer);
    1513    }
    1614}
Note: See TracChangeset for help on using the changeset viewer.