public Response <IEnumerable <Customer> > GetStorerID() { Response <IEnumerable <Customer> > response = new Response <IEnumerable <Customer> >(); try { ConfigAccessor accessor = new ConfigAccessor(); response.Result = accessor.GetStorerID(); response.IsSuccess = true; } catch (Exception ex) { LogError(ex); response.IsSuccess = false; response.ErrorCode = ErrorCode.Technical; } return(response); }