public bool AddOutRight(Models.SBP_BlotterOutRight blotterOR)
        {
            bool status = false;
            EntityMapperBlotterOR <Models.SBP_BlotterOutRight, DataAccessLayer.SBP_BlotterOutrights> mapObj = new EntityMapperBlotterOR <Models.SBP_BlotterOutRight, DataAccessLayer.SBP_BlotterOutrights>();

            DataAccessLayer.SBP_BlotterOutrights FRObj = new DataAccessLayer.SBP_BlotterOutrights();
            FRObj  = mapObj.Translate(blotterOR);
            status = DAL.InsertOutRight(FRObj);
            return(status);
        }
        public bool UpdateOutRight(Models.SBP_BlotterOutRight OutRight)
        {
            bool status = false;

            if (ModelState.IsValid)
            {
                EntityMapperBlotterOR <Models.SBP_BlotterOutRight, DataAccessLayer.SBP_BlotterOutrights> mapObj = new EntityMapperBlotterOR <Models.SBP_BlotterOutRight, DataAccessLayer.SBP_BlotterOutrights>();
                DataAccessLayer.SBP_BlotterOutrights OROBj = new DataAccessLayer.SBP_BlotterOutrights();
                OROBj  = mapObj.Translate(OutRight);
                status = DAL.UpdateOutRight(OROBj);
            }
            return(status);
        }