예제 #1
0
        public static void InsertEmployeeIntoFile(EmployeeModel employee)
        {
            var jsonString = JsonConvert.SerializeObject(employee);

            FileSystem file = new FileSystem();
            file.SaveEmployee(jsonString, employee.Id);
        }