public async Task DeleteById(object id) { await DapperUtils.ExecuteAsync(GetConnection, DeleteById_Command, id); return; }
public async Task Update(T entity) { await DapperUtils.ExecuteAsync(GetConnection, Update_Command, entity); return; }
public async Task <T> GetById(object id) { return(await DapperUtils.GetObjectAsync <T>(GetConnection, GetById_Command, id)); }
public async Task Add(T entity) { await DapperUtils.ExecuteAsync(GetConnection, Insert_Command, entity); return; }
public async Task <IEnumerable <T> > GetAll() { return(await DapperUtils.GetObjectListAsync <T>(GetConnection, GetAll_Command)); }