2024-12-23 09:12:26 +00:00
|
|
|
|
using System;
|
2024-11-17 16:24:01 +00:00
|
|
|
|
using System.Collections.Generic;
|
2024-12-23 09:12:26 +00:00
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using presence.data.LocalData.Entity;
|
|
|
|
|
using presence.data.RemoteData.RemoteDataBase.DAO;
|
2024-11-17 16:24:01 +00:00
|
|
|
|
|
2024-12-23 09:12:26 +00:00
|
|
|
|
namespace presence.data.Repository
|
2024-11-17 16:24:01 +00:00
|
|
|
|
{
|
|
|
|
|
public interface IUserRepository
|
|
|
|
|
{
|
2024-12-19 17:36:57 +00:00
|
|
|
|
List<UserDao> GetAllUser();
|
|
|
|
|
bool RemoveUserById(int usesId);
|
|
|
|
|
UserDao GetUserById(int userId);
|
|
|
|
|
bool UpdateUser(UserDao userUpdate);
|
|
|
|
|
bool UpdateUserById(int userId, string fio, int groupId);
|
2024-11-17 16:24:01 +00:00
|
|
|
|
}
|
2024-12-23 09:12:26 +00:00
|
|
|
|
}
|