Exemplo n.º 1
0
        public bool AddPlace(Place newPlace)
        {
            var place = new AdminServiceReference.Place()
            {
                Id = newPlace.Id,
                CategoryPlaceId = Convert.ToInt32(newPlace.CategoryId),
                Name            = newPlace.Name,
                Description     = newPlace.Description,
                Information     = newPlace.Information,
                Status          = newPlace.Status
            };

            return(adminServiceClient.AddPlace(place));
        }