Esempio n. 1
0
        public pb_Location GetById(Guid locationId)
        {
            var locations = db.pb_Location_GetbyId(locationId).ToList();

            if (locations.Count > 0)
            {
                return(locations.First());
            }
            else
            {
                return(null);
            }
        }