public static DeleteCatalogFromTemplate ( int catalogId ) : bool | ||
catalogId | int | |
return | bool |
public static bool DeleteCatalogFromTemplate(int catalogId)
{
using (var uow = new DAL.UnitOfWork())
{
uow.MunkiCatalogRepository.Delete(catalogId);
return uow.Save();
}
}