public void Initialize() { _personApplicationService = new PersonApplicationService(); _personDomainService = new Mock <PersonDomainService>(); _personRepository = new Mock <IPersonRepository>(); }
public HttpResponseMessage getPersonById(int id) { PersonApplicationService person = new PersonApplicationService(); return(Request.CreateResponse(HttpStatusCode.OK, person.GetPerson())); }