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

Update & add service

File:
1 edited

Legend:

Unmodified
Added
Removed
  • FarmatikoData/FarmatikoRepoInterfaces/IMedicineRepository.cs

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