Beispiel #1
0
        public static bool DeleteStatus(int statusId)
        {
            if (statusId <= DefaultValues.GetStatusIdMinValue())
            {
                throw (new ArgumentOutOfRangeException("statusId"));
            }

            DataAccessLayerBaseClass DBLayer = DataAccessLayerBaseClassHelper.GetDataAccessLayer();

            return(DBLayer.DeleteStatus(statusId));
        }
Beispiel #2
0
        /*** CONSTRUCTORS ***/

        public Status(int projectId, string name, string imageUrl)
            : this(DefaultValues.GetStatusIdMinValue(), projectId, name, imageUrl)
        {
        }