Exemplo n.º 1
0
        public objMastersResponseModel GetLanguages(objMastersRequestModel request)
        {
            IMasterTablesDataAccess _repository = new MasterTablesDataAccess();
            objMastersResponseModel response    = new objMastersResponseModel();

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

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

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

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

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

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

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

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