/// <summary> /// Deletes an existing Customer /// </summary> /// <param name="id">Customer Id</param> public static void Delete(int id) { if (id < 1) throw new ArgumentException("Customer Id must be greater than 0", "id"); SqlDataAccessLayer dataAccessLayer = new SqlDataAccessLayer(); dataAccessLayer.CustomerDelete(id); }