public bool AddFundingRepo(Models.SBP_BlotterFundingRepo blotterFR)
        {
            bool status = false;
            EntitiyMapperBlotterFR <Models.SBP_BlotterFundingRepo, DataAccessLayer.SBP_BlotterFundingRepo> mapObj = new EntitiyMapperBlotterFR <Models.SBP_BlotterFundingRepo, DataAccessLayer.SBP_BlotterFundingRepo>();

            DataAccessLayer.SBP_BlotterFundingRepo FRObj = new DataAccessLayer.SBP_BlotterFundingRepo();
            FRObj  = mapObj.Translate(blotterFR);
            status = DAL.InsertFundingRepo(FRObj);
            return(status);
        }
        public bool UpdateFundingRepo(Models.SBP_BlotterFundingRepo fundingRepo)
        {
            bool status = false;

            if (ModelState.IsValid)
            {
                EntitiyMapperBlotterFR <Models.SBP_BlotterFundingRepo, DataAccessLayer.SBP_BlotterFundingRepo> mapObj = new EntitiyMapperBlotterFR <Models.SBP_BlotterFundingRepo, DataAccessLayer.SBP_BlotterFundingRepo>();
                DataAccessLayer.SBP_BlotterFundingRepo FundingRepo = new DataAccessLayer.SBP_BlotterFundingRepo();
                FundingRepo = mapObj.Translate(fundingRepo);
                status      = DAL.UpdateFundingRepo(FundingRepo);
            }
            return(status);
        }
        public bool InsertFundingRepo(List <Models.SBP_BlotterFundingRepo> blotterFR)
        {
            bool status = false;

            if (ModelState.IsValid)
            {
                EntitiyMapperBlotterFR <Models.SBP_BlotterFundingRepo, DataAccessLayer.SBP_BlotterFundingRepo> mapObj = new EntitiyMapperBlotterFR <Models.SBP_BlotterFundingRepo, DataAccessLayer.SBP_BlotterFundingRepo>();
                DataAccessLayer.SBP_BlotterFundingRepo FRObj = new DataAccessLayer.SBP_BlotterFundingRepo();
                for (int i = 0; i < blotterFR.Count; i++)
                {
                    //blotterFR[i].DataType=()
                    FRObj  = mapObj.Translate(blotterFR[i]);
                    status = DAL.InsertFundingRepo(FRObj);
                }
            }
            return(status);
        }