コード例 #1
0
        public void Dismiss(int id)
        {
            var employee = employeeStorage.TryReadById(id) ?? throw new Exception("Bug, employee not found");

            employeeManager.Dismiss(employee);
            employeeStorage.Write(employee);
        }