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