public IsRestrictedUserController(IIsRestrictedUserRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.To<long>(); this._UserId = view.UserId.To<int>(); this._OfficeId = view.OfficeId.To<int>(); this._Catalog = catalog; this.repository = repository; }
public ClassShiftController(IClassShiftRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.To<long>(); this._UserId = view.UserId.To<int>(); this._OfficeId = view.OfficeId.To<int>(); this._Catalog = catalog; this.ClassShiftRepository = repository; }
public AcademicLevelController(IAcademicLevelRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.To<long>(); this._UserId = view.UserId.To<int>(); this._OfficeId = view.OfficeId.To<int>(); this._Catalog = catalog; this.AcademicLevelRepository = repository; }
public ConfigurationProfileController(IConfigurationProfileRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.To<long>(); this._UserId = view.UserId.To<int>(); this._OfficeId = view.OfficeId.To<int>(); this._Catalog = catalog; this.ConfigurationProfileRepository = repository; }
public CreateMenuController(ICreateMenuRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.To<long>(); this._UserId = view.UserId.To<int>(); this._OfficeId = view.OfficeId.To<int>(); this._Catalog = catalog; this.repository = repository; }
public PublishedContentViewController(IPublishedContentViewRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.To<long>(); this._UserId = view.UserId.To<int>(); this._OfficeId = view.OfficeId.To<int>(); this._Catalog = catalog; this.PublishedContentViewRepository = repository; }
public GetCustomFieldFormNameController(IGetCustomFieldFormNameRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.To<long>(); this._UserId = view.UserId.To<int>(); this._OfficeId = view.OfficeId.To<int>(); this._Catalog = catalog; this.repository = repository; }
public FbAccessTokenController(IFbAccessTokenRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.To<long>(); this._UserId = view.UserId.To<int>(); this._OfficeId = view.OfficeId.To<int>(); this._Catalog = catalog; this.FbAccessTokenRepository = repository; }
public VerificationStatusController(IVerificationStatusRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.To<long>(); this._UserId = view.UserId.To<int>(); this._OfficeId = view.OfficeId.To<int>(); this._Catalog = catalog; this.VerificationStatusRepository = repository; }
public GetCategoryIdByCategoryAliasController(IGetCategoryIdByCategoryAliasRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.To<long>(); this._UserId = view.UserId.To<int>(); this._OfficeId = view.OfficeId.To<int>(); this._Catalog = catalog; this.repository = repository; }
public AddEmailSubscriptionController(IAddEmailSubscriptionRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.To<long>(); this._UserId = view.UserId.To<int>(); this._OfficeId = view.OfficeId.To<int>(); this._Catalog = catalog; this.repository = repository; }
public MenuItemViewController(IMenuItemViewRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.To<long>(); this._UserId = view.UserId.To<int>(); this._OfficeId = view.OfficeId.To<int>(); this._Catalog = catalog; this.MenuItemViewRepository = repository; }
public CanRegisterWithGoogleController(ICanRegisterWithGoogleRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.To<long>(); this._UserId = view.UserId.To<int>(); this._OfficeId = view.OfficeId.To<int>(); this._Catalog = catalog; this.repository = repository; }
public GetFlagTypeIdController(IGetFlagTypeIdRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.To<long>(); this._UserId = view.UserId.To<int>(); this._OfficeId = view.OfficeId.To<int>(); this._Catalog = catalog; this.repository = repository; }
public GoogleUserExistsController(IGoogleUserExistsRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.To<long>(); this._UserId = view.UserId.To<int>(); this._OfficeId = view.OfficeId.To<int>(); this._Catalog = catalog; this.repository = repository; }
public BatchController(IBatchRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.To<long>(); this._UserId = view.UserId.To<int>(); this._OfficeId = view.OfficeId.To<int>(); this._Catalog = catalog; this.BatchRepository = repository; }
public AppDependencyController(IAppDependencyRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.To<long>(); this._UserId = view.UserId.To<int>(); this._OfficeId = view.OfficeId.To<int>(); this._Catalog = catalog; this.AppDependencyRepository = repository; }
public RegistrationController(IRegistrationRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.To<long>(); this._UserId = view.UserId.To<int>(); this._OfficeId = view.OfficeId.To<int>(); this._Catalog = catalog; this.RegistrationRepository = repository; }
public CustomFieldDefinitionViewController(ICustomFieldDefinitionViewRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.To<long>(); this._UserId = view.UserId.To<int>(); this._OfficeId = view.OfficeId.To<int>(); this._Catalog = catalog; this.CustomFieldDefinitionViewRepository = repository; }
public KanbanDetailController(IKanbanDetailRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.To<long>(); this._UserId = view.UserId.To<int>(); this._OfficeId = view.OfficeId.To<int>(); this._Catalog = catalog; this.KanbanDetailRepository = repository; }
public EntityAccessController(IEntityAccessRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.To<long>(); this._UserId = view.UserId.To<int>(); this._OfficeId = view.OfficeId.To<int>(); this._Catalog = catalog; this.EntityAccessRepository = repository; }
public HasAccountController(IHasAccountRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.To<long>(); this._UserId = view.UserId.To<int>(); this._OfficeId = view.OfficeId.To<int>(); this._Catalog = catalog; this.repository = repository; }
public EmailQueueController(IEmailQueueRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.To<long>(); this._UserId = view.UserId.To<int>(); this._OfficeId = view.OfficeId.To<int>(); this._Catalog = catalog; this.EmailQueueRepository = repository; }
public ScholorshipTypeController(IScholorshipTypeRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.To<long>(); this._UserId = view.UserId.To<int>(); this._OfficeId = view.OfficeId.To<int>(); this._Catalog = catalog; this.ScholorshipTypeRepository = repository; }
public static LoginView GetCurrent(string catalog, long loginId) { var login = new LoginView(); if (loginId == 0) { return login; } string key = catalog + "-" + loginId.ToString(CultureInfo.InvariantCulture); var cacheObject = CacheFactory.GetFromDefaultCacheByKey(key); login = cacheObject as LoginView; var view = login ?? SetCurrentLogin(catalog, loginId); UpdateActivity(view.UserId.To<int>(), view.IpAddress, view.Browser); return view; }
private static Dictionary<string, object> GetDictionary(string catalog, LoginView metaLogin) { var dictionary = new Dictionary<string, object>(); if (metaLogin == null) { return dictionary; } dictionary.Add("Catalog", catalog); dictionary.Add("Culture", metaLogin.Culture); dictionary.Add("Email", metaLogin.Email); dictionary.Add("Office", metaLogin.Office); dictionary.Add("OfficeId", metaLogin.OfficeId); dictionary.Add("OfficeName", metaLogin.OfficeName); dictionary.Add("RoleName", metaLogin.RoleName); dictionary.Add("UserId", metaLogin.UserId); dictionary.Add("UserName", metaLogin.Email); return dictionary; }
private static Dictionary<string, object> GetDictionary(string database, LoginView metaLogin) { var dictionary = new Dictionary<string, object>(); if(metaLogin == null) { return dictionary; } dictionary.Add("Database", database); dictionary.Add("Culture", metaLogin.Culture); dictionary.Add("Email", metaLogin.Email); dictionary.Add("Office", metaLogin.Office); dictionary.Add("OfficeId", metaLogin.OfficeId); dictionary.Add("OfficeCode", metaLogin.OfficeCode); dictionary.Add("OfficeName", metaLogin.OfficeName); dictionary.Add("RoleName", metaLogin.RoleName); dictionary.Add("UserId", metaLogin.UserId); dictionary.Add("UserName", metaLogin.Name); dictionary.Add("ZipCode", metaLogin.ZipCode); dictionary.Add("PoBox", metaLogin.PoBox); dictionary.Add("AddressLine1", metaLogin.AddressLine1); dictionary.Add("AddressLine2", metaLogin.AddressLine2); dictionary.Add("Street", metaLogin.Street); dictionary.Add("State", metaLogin.State); dictionary.Add("City", metaLogin.City); dictionary.Add("Country", metaLogin.Country); dictionary.Add("CurrencyCode", metaLogin.CurrencyCode); dictionary.Add("Phone", metaLogin.Phone); dictionary.Add("Fax", metaLogin.Fax); dictionary.Add("HasVat", metaLogin.HasVat); dictionary.Add("IsAdministrator", metaLogin.IsAdministrator); dictionary.Add("LastSeenOn", metaLogin.LastSeenOn); dictionary.Add("LoginTimestamp", metaLogin.LoginTimestamp); dictionary.Add("Url", metaLogin.Url); dictionary.Add("PanNumber", metaLogin.PanNumber); dictionary.Add("RegistrationDate", metaLogin.RegistrationDate); dictionary.Add("Browser", metaLogin.Browser); dictionary.Add("IpAddress", metaLogin.IpAddress); return dictionary; }