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

IUserRepository.cs 436B

123456789101112131415161718
  1. using ProRestaurant.Models.Accounts;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Threading.Tasks;
  6. namespace ProRestaurant.Repository.Accounts
  7. {
  8. public interface IUserRepository
  9. {
  10. IEnumerable<User> GetUsers();
  11. User GetUser(Func<User, bool> where);
  12. void Insert(User user);
  13. void Remove(User user);
  14. void Update(User user);
  15. void Save();
  16. }
  17. }