Exemple #1
0
        public PropertyViewModel GetProperty(int clientId, int propertyId)
        {
            Property property = clientProfileService.GetClientProperty(propertyId);
            var      model    = new PropertyViewModel
            {
                Cost        = property.Cost,
                Description = property.Description,
                ClientId    = clientId,
                PropertyId  = propertyId
            };

            return(model);
        }