/// <summary> /// Adds a new location /// </summary> /// <param name="location"></param> /// <returns></returns> public async Task <int> AddNewLocation(Location location) { int locationID = -1; if (!string.IsNullOrEmpty(location.locationName)) { locationID = await da.AddNewLocationAsync(location); } return(locationID); }