Esempio n. 1
0
 public async Task <bool> UpdateSimpleAsync(RevokeSimpleUpdate model, int profileId)
 {
     if (model == null)
     {
         return(ToResponse(false, Errors.invalid_data));
     }
     if (model.AssigneeId == 0)
     {
         return(ToResponse(false, "Vui lòng chọn người xử lý"));
     }
     return(await _rpRevoke.UpdateSimpleAsync(model, _process.User.Id, profileId));
 }
 public async Task <bool> UpdateSimpleAsync(RevokeSimpleUpdate model, int updateBy, int profileId)
 {
     return(await _rpRevokeDebt.UpdateSimpleAsync(model, updateBy, profileId));
 }