/// <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] Department_vm value) { _logger.Info("Editing the Department wiht id" + id); return(_nsDepartmentManager.EditDepartmentById(id, value)); }