public StudentBusinessLogic() { _StudentRepository = S360RepositoryFactory.GetRepository("STUDENT") as StudentRepository; _SectionRepository = S360RepositoryFactory.GetRepository("SECTION") as SectionRepository; _Standardpository = S360RepositoryFactory.GetRepository("STANDARD") as StandardRepository; _LanguageRepository = S360RepositoryFactory.GetRepository("LANGUAGE") as LanguageRepository; _StudentCategoryRepository = S360RepositoryFactory.GetRepository("STUDENTCATEGORY") as StudentCategoryRepository; _ReligionRepository = S360RepositoryFactory.GetRepository("RELIGION") as ReligionRepository; _StudentAcademicRepository = S360RepositoryFactory.GetRepository("STUDENTACADEMIC") as StudentAcademicRepository; _studentDetainPromotionRepository = S360RepositoryFactory.GetRepository("DETAINORPROMOTION") as StudentDetainPromotionRepository; _studentTCRepository = S360RepositoryFactory.GetRepository("STUDENTTC") as StudentTCRepository; }
public ChequeBusinessLogic() { _chequeMasterRepository = S360RepositoryFactory.GetRepository("CHEQUEMASTER") as ChequeMasterRepository; _chequeMasterTempRepository = S360RepositoryFactory.GetRepository("CHEQUEMASTERTEMP") as ChequeMasterTempRepository; }
public StudentBusinessLogic() { _StudentRepository = S360RepositoryFactory.GetRepository("STUDENT") as StudentRepository; }
public static decimal GetUserIdByLoginId(decimal LoginId) { return((S360RepositoryFactory.GetRepository("USERLOGINDETAIL") as UserLoginDetailRepository).GetAll().Where(S => S.Login_ID == LoginId).FirstOrDefault().User_ID); }
public static GEN_UserCredentials_Master GetUserByID(decimal Id) { return((S360RepositoryFactory.GetRepository("USERCREDENTIAL") as UserCredentialRepository).GetAll().Where(S => S.User_ID == Id).FirstOrDefault()); }
public LoginBusinessLogic() { _userCredentialRepository = S360RepositoryFactory.GetRepository("USERCREDENTIAL") as UserCredentialRepository; _userLoginDetailRepository = S360RepositoryFactory.GetRepository("USERLOGINDETAIL") as UserLoginDetailRepository; }