public DtoTftpServer GetComputerTftpServers(string mac) { var computerTftpServers = new ServiceProxyDhcp().GetComputerTftpServers(mac); if (computerTftpServers == null) { throw new HttpResponseException(Request.CreateResponse(HttpStatusCode.NotFound)); } return(computerTftpServers); }
public DtoProxyReservation GetProxyReservation(string mac) { var proxyReservation = new ServiceProxyDhcp().GetProxyReservation(mac); if (proxyReservation == null) { throw new HttpResponseException(Request.CreateResponse(HttpStatusCode.NotFound)); } return(proxyReservation); }
public DtoTftpServer GetAllTftpServers() { var allTftpServers = new ServiceProxyDhcp().GetAllTftpServers(); if (allTftpServers == null) { throw new HttpResponseException(Request.CreateResponse(HttpStatusCode.NotFound)); } return(allTftpServers); }