Esempio n. 1
0
 public string ChangeUniversityOffer(int appId, string offer, int uniId)
 {
     if (GetApplicationDetails(appId).UniversityOffer == null || GetApplicationDetails(appId).UniversityOffer == "P")
     {
         if ((offer == "C" || offer == "U" || offer == "P" || offer == "R"))
         {
             _applicationService.ChangeUniversityOffer(appId, offer);
             return("OK");
         }
     }
     return("Error");
 }
Esempio n. 2
0
 public void ChangeUniversityOffer(int appId, string offer)
 {
     _applicationService.ChangeUniversityOffer(appId, offer);
 }