/// <summary>
        /// Puts the specified identifier.
        /// </summary>
        /// <param name="id">The identifier.</param>
        /// <param name="value">The value.</param>
        /// <returns></returns>
        public IHttpActionResult Put(int id, [FromBody] HelpDesk_TaskStatus_vm value)
        {
            var result = _helpDeskTaskStatusManager.EditTaskStatusById(id, value);

            if (result == 0)
            {
                return(NotFound()); // Returns a NotFoundResult
            }
            return(Ok(result));
        }
 /// <summary>
 /// Puts the specified identifier.
 /// </summary>
 /// <param name="id">The identifier.</param>
 /// <param name="value">The value.</param>
 /// <returns></returns>
 public int Put(int id, [FromBody] HelpDesk_TaskStatus_vm value)
 {
     _logger.Info("Editing the task with id " + id);
     return(_helpDeskTaskStatusManager.EditTaskStatusById(id, value));
 }