Esempio n. 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));
        }
Esempio n. 2
0
        public Location EditLocation(int LocId, int CompanyId)
        {
            ILocationConfigService loc = new LocationConfigService(CompanyId);

            return(loc.EditLocation(LocId, CompanyId));
        }
Esempio n. 3
0
        public int?GetLocationConfigByCompany(int CompanyID)
        {
            ILocationConfigService loc = new LocationConfigService(CompanyID);

            return(loc.GetLocationConfigByCompany(CompanyID));
        }
Esempio n. 4
0
        public async Task <UploadLocation> UploadLocations(UploadLocation model, string Userid)
        {
            ILocationConfigService loc = new LocationConfigService(model.CompanyID);

            return(await loc.UploadLocations(model, Userid));
        }
Esempio n. 5
0
        public bool AddLocationMeta(LocationMetadata model)
        {
            ILocationConfigService loc = new LocationConfigService(model.CustomerID);

            return(loc.AddLocationMeta(model));
        }
Esempio n. 6
0
        public LocationMetadataDTO UpdateLocationMeta(LocationMetadata model)
        {
            ILocationConfigService loc = new LocationConfigService(model.CustomerID);

            return(loc.UpdateLocationMeta(model));
        }
Esempio n. 7
0
        public bool DeletingLocationConfig(int LocConfigID, int CompanyID)
        {
            ILocationConfigService loc = new LocationConfigService(CompanyID);

            return(loc.DeleteLocationConfig(LocConfigID, CompanyID));
        }
Esempio n. 8
0
        public List <LocationMetadataDTO> GetLocationDetails(int CompanyID)
        {
            ILocationConfigService loc = new LocationConfigService(CompanyID);

            return(loc.GetLocationDetails(CompanyID));
        }
Esempio n. 9
0
        public LocationConfigurationDTO CreateLocationForGrandParent(Location_Configuration model)
        {
            ILocationConfigService loc = new LocationConfigService(Convert.ToInt32(model.CompanyID));

            return(loc.CreateLocationGrandParent(model));
        }
Esempio n. 10
0
        public List <LocationConfigurationDTO> GetLocationConfigByCompanyID(int CompanyID)
        {
            ILocationConfigService loc = new LocationConfigService(CompanyID);

            return(loc.GetLocationConfigData(CompanyID));
        }
Esempio n. 11
0
        public void CreateLocationChild(int CompanyID, string UserID)
        {
            ILocationConfigService loc = new LocationConfigService(CompanyID);

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

            return(await locationInfo.GetLocations());
        }
Esempio n. 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));
        }