public async Task <IActionResult> CreateOrUpdate([FromForm] MapDto model) { var result = await _mapService.CreateOrUpdate(model); if (result.Successed) { return(Ok(result.Property)); } return(BadRequest("values not valid")); }
public async Task <IActionResult> CreateOrUpdate([FromForm] MapDto model) { var result = await _mapService.CreateOrUpdate(model); if (result.Successed) { return(Ok(result.Property)); } return(BadRequest("values not valid")); }