您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

ICustomerService.cs 571B

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 ICustomerService
  10. {
  11. Task<Customer> GetCustomer(string username);
  12. Task<Customer> GetCustomerById(string id);
  13. Task<bool> AddNotification(string receiverId, string roomId);
  14. Task<List<Notification>> ReadNotifications(string userId);
  15. Task<bool> DeleteNotification(string userId, string roomId);
  16. }
  17. }