public virtual ApiAdminResponseModel MapBOToModel(
            BOAdmin boAdmin)
        {
            var model = new ApiAdminResponseModel();

            model.SetProperties(boAdmin.Id, boAdmin.Birthday, boAdmin.Email, boAdmin.FirstName, boAdmin.LastName, boAdmin.Phone, boAdmin.StudioId);

            return(model);
        }
        public virtual BOAdmin MapEFToBO(
            Admin ef)
        {
            var bo = new BOAdmin();

            bo.SetProperties(
                ef.Id,
                ef.Birthday,
                ef.Email,
                ef.FirstName,
                ef.LastName,
                ef.Phone,
                ef.StudioId);
            return(bo);
        }
        public virtual Admin MapBOToEF(
            BOAdmin bo)
        {
            Admin efAdmin = new Admin();

            efAdmin.SetProperties(
                bo.Birthday,
                bo.Email,
                bo.FirstName,
                bo.Id,
                bo.LastName,
                bo.Phone,
                bo.StudioId);
            return(efAdmin);
        }
        public virtual BOAdmin MapModelToBO(
            int id,
            ApiAdminRequestModel model
            )
        {
            BOAdmin boAdmin = new BOAdmin();

            boAdmin.SetProperties(
                id,
                model.Birthday,
                model.Email,
                model.FirstName,
                model.LastName,
                model.Phone,
                model.StudioId);
            return(boAdmin);
        }