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);
        }