コード例 #1
0
        public async Task <bool> AddLocation(Location model, string UserId)
        {
            ILocationConfigService loc = new LocationConfigService(model.CompanyID);

            return(await loc.AddLocation(model, model.CompanyID, UserId));
        }
コード例 #2
0
        public Location EditLocation(int LocId, int CompanyId)
        {
            ILocationConfigService loc = new LocationConfigService(CompanyId);

            return(loc.EditLocation(LocId, CompanyId));
        }
コード例 #3
0
        public int?GetLocationConfigByCompany(int CompanyID)
        {
            ILocationConfigService loc = new LocationConfigService(CompanyID);

            return(loc.GetLocationConfigByCompany(CompanyID));
        }
コード例 #4
0
        public async Task <UploadLocation> UploadLocations(UploadLocation model, string Userid)
        {
            ILocationConfigService loc = new LocationConfigService(model.CompanyID);

            return(await loc.UploadLocations(model, Userid));
        }
コード例 #5
0
        public bool AddLocationMeta(LocationMetadata model)
        {
            ILocationConfigService loc = new LocationConfigService(model.CustomerID);

            return(loc.AddLocationMeta(model));
        }
コード例 #6
0
        public LocationMetadataDTO UpdateLocationMeta(LocationMetadata model)
        {
            ILocationConfigService loc = new LocationConfigService(model.CustomerID);

            return(loc.UpdateLocationMeta(model));
        }
コード例 #7
0
        public bool DeletingLocationConfig(int LocConfigID, int CompanyID)
        {
            ILocationConfigService loc = new LocationConfigService(CompanyID);

            return(loc.DeleteLocationConfig(LocConfigID, CompanyID));
        }
コード例 #8
0
        public List <LocationMetadataDTO> GetLocationDetails(int CompanyID)
        {
            ILocationConfigService loc = new LocationConfigService(CompanyID);

            return(loc.GetLocationDetails(CompanyID));
        }
コード例 #9
0
        public LocationConfigurationDTO CreateLocationForGrandParent(Location_Configuration model)
        {
            ILocationConfigService loc = new LocationConfigService(Convert.ToInt32(model.CompanyID));

            return(loc.CreateLocationGrandParent(model));
        }
コード例 #10
0
        public List <LocationConfigurationDTO> GetLocationConfigByCompanyID(int CompanyID)
        {
            ILocationConfigService loc = new LocationConfigService(CompanyID);

            return(loc.GetLocationConfigData(CompanyID));
        }
コード例 #11
0
        public void CreateLocationChild(int CompanyID, string UserID)
        {
            ILocationConfigService loc = new LocationConfigService(CompanyID);

            loc.CreateLocationChild(CompanyID, UserID);
        }
コード例 #12
0
        public async Task <List <LocationList> > GetLocations(int CompanyId)
        {
            ILocationConfigService locationInfo = new LocationConfigService(CompanyId);

            return(await locationInfo.GetLocations());
        }
コード例 #13
0
        public async Task <bool> DeleteLocation(int LocId, int CompanyID, string UserId)
        {
            ILocationConfigService loc = new LocationConfigService(CompanyID);

            return(await loc.DeleteLocation(LocId, CompanyID, UserId));
        }