19 lines
432 B
C#
Executable File
19 lines
432 B
C#
Executable File
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using api.Dtos;
|
|
using api.Models;
|
|
|
|
namespace api.Data
|
|
{
|
|
|
|
public interface IUsersRepository
|
|
{
|
|
void Add<T>(T enity) where T: class;
|
|
void Delete<T>(T entity) where T: class;
|
|
Task<bool> SaveAll();
|
|
Task<IEnumerable<User>> GetUsers();
|
|
Task<User> GetUser(int id);
|
|
Task<User> changeProfileImage(profileImage a);
|
|
}
|
|
|
|
} |