예제 #1
0
        public IActionResult Addfile([FromBody] MonitoringViewModel model)
        {
            try
            {
                _services.CreateMonitoring(model);

                return(Created("", new { }));
            }
            catch (System.Exception error)
            {
                return(BadRequest(error.Message));
            }
        }