public static DeleteMunkiTemplates ( int groupId ) : bool | ||
groupId | int | |
return | bool |
public static bool DeleteMunkiTemplates(int groupId)
{
using (var uow = new DAL.UnitOfWork())
{
uow.GroupMunkiRepository.DeleteRange(x => x.GroupId == groupId);
return uow.Save();
}
}