public Response GetTrackById(int id) { response = responseFactory.CreateTrackResponse(); response.track = magmaDbContext.Find <Track>(id); return(responseFactory.UpdateResponse(response, "Success: track found", ResponseStatus.OK)); }
public Response GetPluginById(int id) { response = responseFactory.CreatePluginResponse(); response.plugin = magmaDbContext.Find <Plugin>(id); return(responseFactory.UpdateResponse(response, "Success: found plugin", ResponseStatus.OK)); }
public Response GetAudioEffectById(int id) { response = responseFactory.CreateAudioEffectResponse(); response.audioEffect = magmaDbContext.Find <AudioEffect>(id); return(responseFactory.UpdateResponse(response, "Success: audio effect found", ResponseStatus.OK)); }
public Response GetSynthesizerById(int id) { response = responseFactory.CreateSynthesizerResponse(); response.synthesizer = magmaDbContext.Find <Synthesizer>(id); return(responseFactory.UpdateResponse(response, "Success: synthesizer found", ResponseStatus.OK)); }