public IEnumerable <User> Get() { ServiceResponse <User> Response = _userRepository.Select(); if (Response.Error) { throw new HttpResponseException(this.Request.CreateErrorResponse(HttpStatusCode.BadRequest, Response.Message)); } return(Response.List); }