public async Task DeleteAsync(FashionSubCategory parameters) { var FashionSubCategory = Uow.Repository <FashionSubCategory>().FindByKey(parameters.FashionSubCategoryId); await Uow.RegisterDeletedAsync(FashionSubCategory); await Uow.CommitAsync(); }
public HashSet <string> DeleteValidation(FashionSubCategory parameters) { return(ValidationMessages); }
public async Task UpdateAsync(FashionSubCategory entity) { await Uow.RegisterDirtyAsync(entity); await Uow.CommitAsync(); }
public HashSet <string> UpdateValidation(FashionSubCategory entity) { return(ValidationMessages); }
public async Task AddAsync(FashionSubCategory entity) { await Uow.RegisterNewAsync(entity); await Uow.CommitAsync(); }
public async Task <object> GetBy(FashionSubCategory parameters) { return(await Uow.Repository <FashionSubCategory>().FindByAsync(t => t.FashionCategoryId == parameters.FashionCategoryId)); }
public async Task <object> GetAsync(FashionSubCategory parameters) { return(await Uow.Repository <FashionSubCategory>().AllAsync()); }