public async Task <Guid> AddBuildingOutAsync(BuildingOutDto buildingOut)
        {
            try
            {
                var validator        = new BuildingOutValidator(_unitOfWork.BuildingOuts);
                var validationResult = await validator.ValidateAsync(buildingOut);

                if (validationResult.Errors.Count > 0)
                {
                    throw new ValidationException(validationResult);
                }
                var ob = _mapper.Map <BuildingOut>(buildingOut);



                ob = await _unitOfWork.BuildingOuts.AddAsync(ob);

                await _unitOfWork.SaveChangesAsync();

                return(ob.Id);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
        public async Task UpdateBuildingOutAsync(BuildingOutDto buildingOutDto)
        {
            var buildingOut = _mapper.Map <BuildingOut>(buildingOutDto);
            await _unitOfWork.BuildingOuts.UpdateAsync(buildingOut);

            StatusClass = "alert-success";
            Message     = "Building Outbuilding updated successfully.";
            Saved       = true;
        }