Ejemplo n.º 1
0
        public EmployModel Create(IApplicentModel person)
        {
            EmployModel output = new EmployModel();

            output.FirstName    = person.FirstName;
            output.LastName     = person.LastName;
            output.EmailAddress = $"{person.FirstName.Substring(0, 1)}{person.LastName}@acme.com";

            return(output);
        }
Ejemplo n.º 2
0
        public EmployModel Create(IApplicentModel person)
        {
            EmployModel output = new EmployModel();

            output.FirstName    = person.FirstName;
            output.LastName     = person.LastName;
            output.EmailAddress = $"{person.FirstName.Substring(0, 1)}{person.LastName}@acmeCorp.com";

            output.IsManager   = true;
            output.IsExacitive = true;

            return(output);
        }