コード例 #1
0
 public void LoadRegistrationRequestStatuses(IRegistrationRequest registrationRequestRepository)
 {
     RegistrationRequestStatusList = registrationRequestRepository.RegistrationRequestStatuses().ToList();
     RegistrationRequestStatusList.Insert(0, new RegistrationRequestStatus()
     {
         Id   = 0,
         Name = "Selecciona un estatus"
     });
 }
コード例 #2
0
 public IEnumerable <RegistrationRequestStatus> RegistrationRequestStatuses()
 {
     return(registrationRequestRepository.RegistrationRequestStatuses().ToList());
 }