public IActionResult Post([FromBody] AreaViewModel area) { if (!ModelState.IsValid) { NotifyModelStateErrors(); return(Response(area)); } _areaAppService.Register(area); return(Response(area)); }
public IActionResult Post([FromBody] AreaViewModel area) { if (!ModelState.IsValid) { NotifyModelStateErrors(); return(Response(area)); } _areaAppService.Register(area); return(Response(area)); }