Пример #1
0
        public objMastersResponseModel GetLanguages(objMastersRequestModel request)
        {
            IMasterTablesDataAccess _repository = new MasterTablesDataAccess();
            objMastersResponseModel response    = new objMastersResponseModel();

            response.LanguagesList = _repository.GetLanguages();
            return(response);
        }
Пример #2
0
        public objMastersResponseModel GetHoblis(objMastersRequestModel request)
        {
            IMasterTablesDataAccess _repository = new MasterTablesDataAccess();
            objMastersResponseModel response    = new objMastersResponseModel();

            response.HobliList = _repository.GetHoblis(request.Hobliobj.TalukId);
            return(response);
        }
Пример #3
0
        public objMastersResponseModel GetVillages(objMastersRequestModel request)
        {
            IMasterTablesDataAccess _repository = new MasterTablesDataAccess();
            objMastersResponseModel response    = new objMastersResponseModel();

            response.VillageList = _repository.GetVillage(request.Villageobj.HobliId);
            return(response);
        }
Пример #4
0
        public objMastersResponseModel GetDistricts(objMastersRequestModel request)
        {
            IMasterTablesDataAccess _repository = new MasterTablesDataAccess();
            objMastersResponseModel response    = new objMastersResponseModel();

            response.DistrictList = _repository.GetDistricts(request.Districtobj.StateId);
            return(response);
        }
Пример #5
0
        public objMastersResponseModel GetTaluks(objMastersRequestModel request)
        {
            IMasterTablesDataAccess _repository = new MasterTablesDataAccess();
            objMastersResponseModel response    = new objMastersResponseModel();

            response.TalukList = _repository.GetTaluks(request.Talukobj.DistrictId);
            return(response);
        }
Пример #6
0
        public SellMasterTable GetSellMasterInformation(objMastersRequestModel request)
        {
            IMasterTablesDataAccess _repository = new MasterTablesDataAccess();
            SellMasterTable         response    = new SellMasterTable();

            response = _repository.GetSellingMasterDetails();
            return(response);
        }
Пример #7
0
        public objMastersResponseModel GetComposeSubCatagories(objMastersRequestModel request)
        {
            IMasterTablesDataAccess _repository = new MasterTablesDataAccess();
            objMastersResponseModel response    = new objMastersResponseModel();

            response.LookingForDetailsList = _repository.GetLookingForDetails(request.LookingForObj.Id);
            return(response);
        }
Пример #8
0
        public objMastersResponseModel GetCropDetails(objMastersRequestModel request)
        {
            IMasterTablesDataAccess _repository = new MasterTablesDataAccess();
            objMastersResponseModel response    = new objMastersResponseModel();

            response.CropDetails = _repository.GetCropDetails(request.Cropobj.Id);
            return(response);
        }
Пример #9
0
        public objMastersResponseModel AddCropImage(objMastersRequestModel request)
        {
            IMasterTablesDataAccess _repository = new MasterTablesDataAccess();
            objMastersResponseModel response    = new objMastersResponseModel();

            response.ImgUploadStatus = _repository.AddCropImage(request.CropImageobj.CropId, request.CropImageobj.CropImage);
            return(response);
        }
Пример #10
0
        public objMastersResponseModel GetCrops(objMastersRequestModel request)
        {
            IMasterTablesDataAccess _repository     = new MasterTablesDataAccess();
            IUserDetails            _repositoryUser = new UserDetails();
            objMastersResponseModel response        = new objMastersResponseModel();

            response.CropsList      = _repository.GetCropByCatId(request.Cropobj.CatId);
            response.DefaultAddress = _repositoryUser.GetDefaultAddress(request.Cropobj.Id);
            return(response);
        }