/// <summary> /// Deletes the specified identifier. /// </summary> /// <param name="id">The identifier.</param> /// <returns></returns> public IHttpActionResult Delete(int id) { var result = _helpDeskTaskStatusManager.DeleteTaskStatusById(id); return(Ok(result)); }
/// <summary> /// Deletes the specified identifier. /// </summary> /// <param name="id">The identifier.</param> /// <returns></returns> public bool Delete(int id) { _logger.Info("Deleting the task with id " + id); return(_helpDeskTaskStatusManager.DeleteTaskStatusById(id)); }