Esempio n. 1
0
 public WrapResponseResult <ResponseWrapper <GetContactResponse> > Get()
 {
     return(new WrapResponseResult <ResponseWrapper <GetContactResponse> >(() =>
     {
         ResponseWrapper <GetContactResponse> response = null;
         response = _contactService.Get();
         return response;
     }, this.Request));
 }
Esempio n. 2
0
 public async Task <Contact> GetContact(int id)
 {
     return(await _contactService.Get(id));
 }