presence123/Demo/Data/Repository/IUserRepository.cs

21 lines
497 B
C#
Raw Normal View History

2024-10-25 08:47:11 +00:00
using Demo.Data.RemoteData.RemoteDataBase.DAO;
using Demo.domain.Models;
using System.Collections.Generic;
namespace Demo.Data.Repository
{
public interface IUserRepository
{
IEnumerable<UserLocalEnity> GetAllUsers { get; }
bool RemoveUserById(int userId);
UserLocalEnity? UpdateUser(UserLocalEnity user);
IEnumerable<UserDao> GetAllUsersDao { get; }
bool RemoveUserByIdDao(int userId);
UserDao? UpdateUserDao(UserDao user);
}
}