public HubResponse GetPersonDetails(int personId) => Invoker(MainHubDAO.GetPersonDetails(personId), "GetPersonDetailsResponse");
public HubResponse GetAllPeople(string type) => Invoker(MainHubDAO.GetAllPeople(type), "GetAllPeopleResponse");
public HubResponse SearchForPersonById(int personId) => Invoker(MainHubDAO.SearchForPersonById(personId), "SearchForPersonByIdResponse");
public HubResponse SearchForPerson(string searchTerm, string personType) => Invoker(MainHubDAO.SearchForPerson(searchTerm, personType), "SearchForPersonResponse");
public HubResponse SavePerson(Person person) => Invoker(MainHubDAO.SavePerson(person), "SavePersonResponse");
public HubResponse GetView(string path, object model) => Invoker(MainHubDAO.GetView(path, model), "GetViewResponse");