You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

IUserRepository.cs 531B

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