public PartyTypeController(IPartyTypeRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.ToLong(); this._UserId = view.UserId.ToInt(); this._OfficeId = view.OfficeId.ToInt(); this._Catalog = catalog; this.PartyTypeRepository = repository; }
public PartyTypeController(IPartyTypeRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.ToLong(); this._UserId = view.UserId.ToInt(); this._OfficeId = view.OfficeId.ToInt(); this._Catalog = catalog; this.PartyTypeRepository = repository; }
public PartyTypeController() { this._LoginId = AppUsers.GetCurrent().View.LoginId.ToLong(); this._UserId = AppUsers.GetCurrent().View.UserId.ToInt(); this._OfficeId = AppUsers.GetCurrent().View.OfficeId.ToInt(); this._Catalog = AppUsers.GetCurrentUserDB(); this.PartyTypeRepository = new MixERP.Net.Schemas.Core.Data.PartyType { _Catalog = this._Catalog, _LoginId = this._LoginId, _UserId = this._UserId }; }
public PartyTypeController() { this._LoginId = AppUsers.GetCurrent().View.LoginId.ToLong(); this._UserId = AppUsers.GetCurrent().View.UserId.ToInt(); this._OfficeId = AppUsers.GetCurrent().View.OfficeId.ToInt(); this._Catalog = AppUsers.GetCurrentUserDB(); this.PartyTypeRepository = new MixERP.Net.Schemas.Core.Data.PartyType { _Catalog = this._Catalog, _LoginId = this._LoginId, _UserId = this._UserId }; }
public PartyTypeController(IPartyTypeRepository partyTypeRepository) { this.partyTypeRepository = partyTypeRepository; }
public PartyTypeController() { this.partyTypeRepository = new PartyTypeRepository(); }
public UnitOfWork( IContext ctx, ICityRepository City, ICountryRepository Country, IProvinceRepository Province, IDocumentRepository Document, IActiveCodeRepository ActiveCode, IDeviceRepository Device, IEntityStatusRepository EntityStatus, INotificationRepository Notification, ISettingRepository Setting, IUpdateRepository Update, ILeadDocumentsRepository LeadDocuments, ILeadRepository Lead, ILeadStoreCategoriesRepository LeadStoreCategories, IOrderDocumentsRepository OrderDocuments, IOrderRepository Order, IExpenseCategoryRepository ExpenseCategory, IExpenseRepository Expense, IFeedbackRepository Feedback, IPartyRepository Party, IPartyDocumentsRepository PartyDocuments, IPartyStoreCategoriesRepository PartyStoreCategories, IPartyTypeRepository PartyType, IProductCategoryRepository ProductCategory, IRoleRepository Role, IStoreCategoryRepository StoreCategory, IUserRepository User, IUserRoleRepository UserRole, IWorkTimeRepository WorkTime, IUserImageRepository UserImages ) { this.ctx = ctx; this.City = City; this.Country = Country; this.Province = Province; this.Document = Document; this.ActiveCode = ActiveCode; this.Device = Device; this.EntityStatus = EntityStatus; this.Notification = Notification; this.Setting = Setting; this.Update = Update; this.LeadDocuments = LeadDocuments; this.Lead = Lead; this.LeadStoreCategories = LeadStoreCategories; this.OrderDocuments = OrderDocuments; this.Order = Order; this.ExpenseCategory = ExpenseCategory; this.Expense = Expense; this.Feedback = Feedback; this.Party = Party; this.PartyDocuments = PartyDocuments; this.PartyStoreCategories = PartyStoreCategories; this.PartyType = PartyType; this.ProductCategory = ProductCategory; this.Role = Role; this.StoreCategory = StoreCategory; this.User = User; this.UserRole = UserRole; this.WorkTime = WorkTime; this.UserImages = UserImages; }