public Response GetRackById(int id) { response = responseFactory.CreateRackResponse(); response.rack = magmaDbContext.Find <Rack>(id); return(responseFactory.UpdateResponse(response, "Success: found track", ResponseStatus.OK)); }