public async Task <ActionResult> DeleteSportCategory(int sportCategoryId) { _sportService.DeleteSportCategory(sportCategoryId); await _dbContext.SaveChangesAsync(); return(new HttpStatusCodeResult(HttpStatusCode.OK)); }
public async Task <ActionResult> DeleteSportCategory(int sportCategoryId) { _sportService.DeleteSportCategory(sportCategoryId); await _dbContext.SaveChangesAsync(); return(new HttpStatusCodeResult(HttpStatusCode.OK)); }