public async Task <AjaxResult> InsertAsync([FromBody] OaLeaveShowDto entity)
 {
     entity.CreateUserId = (int)UserIdentity.UserId;
     return(await leaveService.InsertAsync(entity));
 }
Beispiel #2
0
 public async Task <AjaxResult> InsertAsync([FromBody] OaLeaveShowDto entity)
 {
     return(await leaveService.InsertAsync(entity));
 }