public void Post([FromBody] LaboratoryModelAPI laboratoryModelAPI) { var user = new LaboratoryModel() { Curricula = laboratoryModelAPI.Curricula, Description = laboratoryModelAPI.Description, LabDate = laboratoryModelAPI.LabDate, Number = laboratoryModelAPI.Number, Title = laboratoryModelAPI.Title }; laboratoryService.Add(user); }