2018-12-12 15:17:08 +00:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Threading.Tasks;
|
2019-03-24 13:41:40 +00:00
|
|
|
using api.Dtos;
|
2018-12-12 15:17:08 +00:00
|
|
|
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);
|
2019-03-24 13:41:40 +00:00
|
|
|
Task<User> changeProfileImage(profileImage a);
|
2019-03-24 18:57:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
Task<string> getProfileImageAsync(string qrCode);
|
2018-12-12 15:17:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|