using System.Collections.Generic;
using System.Threading.Tasks;
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);
        
    }

}