public async Task <IActionResult> Remove([FromRoute] int id) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } await salonRepository.Remove(id); await salonRepository.SaveChanges(); return(Ok(id)); }