Example #1
0
        public EditMatterViewModel()
        {
            EmployeeContactList            = new List <Contacts.ContactViewModel>();
            BillingRateList                = new List <Billing.BillingRateViewModel>();
            BillingGroupList               = new List <Billing.BillingGroupViewModel>();
            MatterTypeList                 = new List <MatterTypeViewModel>();
            CourtTypes                     = new List <CourtTypeViewModel>();
            CourtGeographicalJurisdictions = new List <CourtGeographicalJurisdictionViewModel>();
            CourtSittingInCities           = new List <CourtSittingInCityViewModel>();

            Matter                               = new MatterViewModel();
            Matter.MatterType                    = new MatterTypeViewModel();
            Matter.DefaultBillingRate            = new Billing.BillingRateViewModel();
            Matter.BillingGroup                  = new Billing.BillingGroupViewModel();
            Matter.CourtType                     = new CourtTypeViewModel();
            Matter.CourtGeographicalJurisdiction = new CourtGeographicalJurisdictionViewModel();
            Matter.CourtSittingInCity            = new CourtSittingInCityViewModel();
        }
        public EditMatterViewModel()
        {
            EmployeeContactList = new List<Contacts.ContactViewModel>();
            BillingRateList = new List<Billing.BillingRateViewModel>();
            BillingGroupList = new List<Billing.BillingGroupViewModel>();
            MatterTypeList = new List<MatterTypeViewModel>();
            CourtTypes = new List<CourtTypeViewModel>();
            CourtGeographicalJurisdictions = new List<CourtGeographicalJurisdictionViewModel>();
            CourtSittingInCities = new List<CourtSittingInCityViewModel>();

            Matter = new MatterViewModel();
            Matter.MatterType = new MatterTypeViewModel();
            Matter.DefaultBillingRate = new Billing.BillingRateViewModel();
            Matter.BillingGroup = new Billing.BillingGroupViewModel();
            Matter.CourtType = new CourtTypeViewModel();
            Matter.CourtGeographicalJurisdiction = new CourtGeographicalJurisdictionViewModel();
            Matter.CourtSittingInCity = new CourtSittingInCityViewModel();
        }