public ActionResult GetServicio() { var result = servicioRepository.GetServicio(); if (result == null) { return(NotFound()); } return(Ok(result)); }
public Servicio GetServicio(Guid id) { return(_servicioRepository.GetServicio(id)); }