public Protocol GetProtocolByID(int id, string lang = "en") { Protocol protocol = databasePlaceholder.Get(id, lang); if (protocol == null) { throw new HttpResponseException(HttpStatusCode.NotFound); } return(protocol); }
public Protocol Get(int key) => protocolRepository.Get(key);