public IActionResult Post([FromBody] DataEventRecordDto value) { var username = HttpContext.User.FindFirst("name").Value; _dataEventRecordRepository.Post(value, username); return(Created("/api/DataEventRecords", value)); }
public void Post([FromBody] DataEventRecord value) { _dataEventRecordRepository.Post(value); }
public void Post([FromBody] EmployeeMasters value) { _dataEventRecordRepository.Post(value); }