public IActionResult Post([FromBody] DataEventRecordDto value)
        {
            var username = HttpContext.User.FindFirst("name").Value;

            _dataEventRecordRepository.Post(value, username);
            return(Created("/api/DataEventRecords", value));
        }
示例#2
0
 public void Post([FromBody] DataEventRecord value)
 {
     _dataEventRecordRepository.Post(value);
 }
 public void Post([FromBody] EmployeeMasters value)
 {
     _dataEventRecordRepository.Post(value);
 }