public Guid AddWebSiteLink(AddWebSiteLinkCommand command)
 {
   var webSiteLink = new WebSiteLink()
   {
     CreatedBy = _userSession.UserId,
     CreatedByName = _userSession.FullName,
     CreatedDate = DateTime.Now,
     ImageUrl = command.ImageUrl,
     Link = command.Link,
     Name = command.Name,
     WebSiteLinkId = Guid.NewGuid()
   };
   _webSiteLinkService.Insert(webSiteLink);
   _unitOfWork.SaveChanges();
   return webSiteLink.WebSiteLinkId;
 }
        public Guid AddWebSiteLink(AddWebSiteLinkCommand command)
        {
            var webSiteLink = new WebSiteLink()
            {
                CreatedBy     = _userSession.UserId,
                CreatedByName = _userSession.FullName,
                CreatedDate   = DateTime.Now,
                ImageUrl      = command.ImageUrl,
                Link          = command.Link,
                Name          = command.Name,
                WebSiteLinkId = Guid.NewGuid()
            };

            _webSiteLinkService.Insert(webSiteLink);
            _unitOfWork.SaveChanges();
            return(webSiteLink.WebSiteLinkId);
        }