public Task <int> SubmitForm(ImportDetailEntity entity, string keyValue)
 {
     if (!string.IsNullOrEmpty(keyValue))
     {
         entity.Modify(keyValue);
         entity.F_LastModifyUserId = _usersService.GetCurrentUserId();
         return(_service.UpdateAsync(entity));
     }
     else
     {
         entity.Create();
         entity.F_CreatorUserId = _usersService.GetCurrentUserId();
         return(_service.InsertAsync(entity));
     }
 }
 public Task <int> UpdateForm(ImportDetailEntity entity)
 {
     return(_service.UpdateAsync(entity));
 }