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