public async Task <string> AddNewSeparation([FromBody] Separation separation) { var result = await _context.AddNewSeparationAsync(separation); if (result) { return(JsonConvert.SerializeObject(new { result }, ControllersServices.JsonSettings)); } else { return(ControllersServices.ErrorMessage("Trouble with adding new Separation")); } }