using DMS.Core.Models; using System.Collections.Generic; using System.Threading.Tasks; namespace DMS.Core.Interfaces { public interface IUserRepository { Task GetByIdAsync(int id); Task> GetAllAsync(); Task AddAsync(User user); Task UpdateAsync(User user); Task DeleteAsync(int id); } }