public MeaningfulFigure(FigureBLL figure)
 {
     FigureID   = figure.FigureID;
     FigureName = figure.FigureName;
     FigureDOB  = figure.FigureDOB;
     FigureDOD  = figure.FigureDOD;
     CivID      = figure.CivID;
     CivName    = figure.CivName;
 }
        public FigureBLL FigureFindByID(int FigureID)
        {
            FigureBLL proposedReturnValue = null;
            FigureDAL item = _context.FigureFindByID(FigureID);

            if (item != null)
            {
                proposedReturnValue = new FigureBLL(item);
            }
            return(proposedReturnValue);
        }
        public List <FigureBLL> FiguresGetRelatedToCivID(int Skip, int Take, int CivID)
        {
            List <FigureBLL> proposedReturnValue = new List <FigureBLL>();
            List <FigureDAL> items = _context.FiguresGetRelatedToCivID(Skip, Take, CivID);

            foreach (FigureDAL item in items)
            {
                FigureBLL correctedItem = new FigureBLL(item);
                proposedReturnValue.Add(correctedItem);
            }
            return(proposedReturnValue);
        }
 public void FiguresUpdateJust(FigureBLL figureUpdate)
 {
     _context.FiguresUpdateJust(figureUpdate.FigureID, figureUpdate.FigureName, figureUpdate.FigureDOB, figureUpdate.FigureDOD, figureUpdate.CivID);
 }
        public int FigureCreate(FigureBLL figure)
        {
            int proposedReturnValue = FigureCreate(figure.FigureID, figure.FigureName, figure.FigureDOB, figure.FigureDOD, figure.CivID);

            return(proposedReturnValue);
        }