Demo/Data/Repository/IUserRepository.cs

18 lines
534 B
C#
Executable File

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Posechaemost.Data.LocalData.Entity;
using Posechaemost.Data.RemoteData.RemoteDataBase.DAO;
namespace Posechaemost.Data.Repository {
public interface IUserRepository
{
List<UserDao> GetAllUser();
bool RemoveUserById(int usesId);
UserDao GetUserById(int userId);
bool UpdateUser(UserDao userUpdate);
bool UpdateUserById(int userId, string fio, int groupId);
}
}