public void Initialize()
 {
     _personApplicationService = new PersonApplicationService();
     _personDomainService      = new Mock <PersonDomainService>();
     _personRepository         = new Mock <IPersonRepository>();
 }
Exemplo n.º 2
0
        public HttpResponseMessage getPersonById(int id)
        {
            PersonApplicationService person = new PersonApplicationService();

            return(Request.CreateResponse(HttpStatusCode.OK, person.GetPerson()));
        }