Ejemplo n.º 1
0
        public static HousingCallViewModel Create(HousingCall call)
        {
            var item = new HousingCallViewModel
            {
                Id         = call.Id,
                EmployeeId = call.ApplicationUserId,
                Status     = call.StatusType.ToLocalizedString(),
                Date       = call.Date
            };

            return(item);
        }
        public static HousingCallViewModel Create(HousingCall call)
        {
            var item = new HousingCallViewModel
            {
                Id = call.Id,
                EmployeeId = call.ApplicationUserId,
                Status = call.StatusType.ToLocalizedString(),
                Date = call.Date
            };

            return item;
        }