Пример #1
0
 public ActionResult <TurbineTypeDto> Post(TurbineTypeDto dto)
 {
     return(turbineTypeService.Create(dto));
 }
 //[ProducesResponseType(typeof(TurbineTypeDto), StatusCodes.Status201Created)]
 public ActionResult <TurbineTypeDto> Post([FromBody] TurbineTypeDto dto)
 {
     return(_turbineTypeService.Create(dto));
 }