BLL.Site.DeleteSite C# (CSharp) Method

DeleteSite() public static method

public static DeleteSite ( int siteId ) : bool
siteId int
return bool
        public static bool DeleteSite(int siteId)
        {
            using (var uow = new DAL.UnitOfWork())
            {
                uow.SiteRepository.Delete(siteId);
                return uow.Save();
            }
        }