public static bool DeletePriority(int priorityId) { if (priorityId <= DefaultValues.GetPriorityIdMinValue()) { throw (new ArgumentOutOfRangeException("priorityId")); } DataAccessLayerBaseClass DBLayer = DataAccessLayerBaseClassHelper.GetDataAccessLayer(); return(DBLayer.DeletePriority(priorityId)); }
public Priority(int projectId, string name, string imageUrl) : this(DefaultValues.GetPriorityIdMinValue(), projectId, name, imageUrl) { }
/*** CONSTRUCTORS ***/ public Priority(int projectId, string name) : this(DefaultValues.GetPriorityIdMinValue(), projectId, name, string.Empty) { }