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