public async Task <IEnumerable <Unit> > GetAllUnits() { try { return(await MeasurementManager.GetAllUnits()); } catch { throw new HttpResponseException(HttpStatusCode.NotFound); } }