Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public ActionResult DeleteBusiness(int id) { var businessRepo = _repository.GetBusinessById(id); if (businessRepo == null) { return(NotFound()); } _repository.DeleteBusiness(businessRepo); _repository.SaveChanges(); return(NoContent()); }