Exemplo n.º 1
0
        public Response GetSamplerById(int id)
        {
            response = responseFactory.CreateSamplerResponse();

            response.sampler = magmaDbContext.Find <Sampler>(id);

            return(responseFactory.UpdateResponse(response, "Success: sampler found", ResponseStatus.OK));
        }