よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public string Dispatch(string request) { string response = null; Request requestEntity = new Request(request); if (requestEntity.Type == Type.Employee) { IEmployeeController employeeController = serverControllerFactory.CreateEmployeeController(); if (requestEntity.Function == Function.IsExisting) { response = employeeController.IsExisting(modelFactory.CreateEmployee(requestEntity.Data)).ToString(); } } return(response); }