public BllUser MapToBll(DalUser entity)
        {
            BllUser bllEntity = new BllUser
            {
                Id           = entity.Id,
                Login        = entity.Login,
                Fullname     = entity.Fullname,
                Password     = entity.Password,
                Group        = groupService.Get(entity.Group_id),
                EventTypeLib = eventTypeLibService.Get(entity.EventTypeLib_id),
                StatusLib    = statusLibService.Get(entity.StatusLib_id),
                SignInDate   = entity.SignInDate
            };

            return(bllEntity);
        }
        public BllEvent MapToBll(DalEvent entity)
        {
            BllEvent bllEntity = new BllEvent
            {
                Id           = entity.Id,
                Name         = entity.Name,
                AttributeLib = attributeLibService.Get(entity.Attribute_lib_id),
                Date         = entity.Date,
                Description  = entity.Description,
                FilepathLib  = filepathLibService.Get(entity.Filepath_lib_id),
                RecieverLib  = userLibService.Get(entity.Receiver_lib_id),
                StatusLib    = statusLibService.Get(entity.Status_lib_id),
                Sender       = userService.Get(entity.Sender_id),
                Type         = eventTypeService.Get(entity.Type_id)
            };

            return(bllEntity);
        }