public IActionResult Addfile([FromBody] MonitoringViewModel model) { try { _services.CreateMonitoring(model); return(Created("", new { })); } catch (System.Exception error) { return(BadRequest(error.Message)); } }