Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

ICustomerRepository.cs 538B

12345678910111213141516171819202122
  1. using Diligent.WebAPI.Data.Entities;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace Diligent.WebAPI.Business.Interfaces
  8. {
  9. public interface ICustomerRepository
  10. {
  11. Task<Customer> GetCustomer(string username);
  12. Task<Customer> GetCustomerById(string id);
  13. Task AddNotification(Customer c);
  14. Task<List<Notification>> ReadNotifications(string userId);
  15. Task DeleteNotification(Customer c, Notification n);
  16. }
  17. }