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"); }
public void ChangeUniversityOffer(int appId, string offer) { _applicationService.ChangeUniversityOffer(appId, offer); }