public IHttpActionResult Get() { var machines = repository.GetMachines(); if (machines == null) { return(NotFound()); } return(Ok(machines.Select(m => MachineModel.Create(m)))); }
public IHttpActionResult Get() { var machines = repository.GetMachines(); if (machines == null) { return(NotFound()); } return(Ok(machines.Select(m => MachineModel.Create(m)))); }