public Guid Create(Guid userId, double latitude, double longitude, string address) { var locationId = Guid.NewGuid(); var re = db.pb_Location_Create( locationId, userId, latitude, longitude, address).Single(); if (re >= 0) { return(locationId); } else { return(Guid.Empty); } }