public IActionResult Add(MunicipalityDto municipality) { if (!municipality.Validate(municipality)) { return(NoContent()); } return(Ok(_municipalityService.AddMunicipality(_mapper.Map <Municipality>(municipality)))); }
public IActionResult Add(MunicipalityDto municipality) { if (!municipality.Validate(municipality)) { return(NoContent()); } return(Ok(_municipalityService.AddMunicipality(_mapper.Map <Municipality>(municipality)))); }