public UserProfile GetUser(string userName) { ICashFlowManagerService service = new CashFlowManagerService(); UserProfile user; user = service.GetUser(userName); return user; }
public UserProfile GetUser(int userId) { ICashFlowManagerService service = new CashFlowManagerService(); var user = service.GetUser(userId); return user; }