Example #1
0
 public IActionResult Post(int id, [FromBody] SearchModel searchModel)
 {
     searchModel.Id = id;
     _service.AddLocation(searchModel, _imagesPath);
     return(Ok());
 }