public async Task <IActionResult> CreateInput(Transaction_Detail_Dto model) { if (await _service.CreateInput(model)) { return(Ok()); } throw new Exception("Creating the rack location failed on save"); }
public async Task <IActionResult> CreateInput(Transaction_Detail_Dto model) { var updateBy = User.FindFirst(ClaimTypes.Name).Value; if (await _service.CreateInput(model, updateBy)) { return(Ok()); } throw new Exception("Creating the rack location failed on save"); }