Example #1
0
        public objMastersResponseModel GetLanguages(objMastersRequestModel request)
        {
            IMasterTablesDataAccess _repository = new MasterTablesDataAccess();
            objMastersResponseModel response    = new objMastersResponseModel();

            response.LanguagesList = _repository.GetLanguages();
            return(response);
        }
Example #2
0
        public objMastersResponseModel GetHoblis(objMastersRequestModel request)
        {
            IMasterTablesDataAccess _repository = new MasterTablesDataAccess();
            objMastersResponseModel response    = new objMastersResponseModel();

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

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

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

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

            response = _repository.GetSellingMasterDetails();
            return(response);
        }
Example #7
0
        public objMastersResponseModel GetComposeSubCatagories(objMastersRequestModel request)
        {
            IMasterTablesDataAccess _repository = new MasterTablesDataAccess();
            objMastersResponseModel response    = new objMastersResponseModel();

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

            response.CropDetails = _repository.GetCropDetails(request.Cropobj.Id);
            return(response);
        }
Example #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);
        }
Example #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);
        }