Beispiel #1
0
        public EmployeeCarModel AddCars(EmployeeCarModel model)
        {
            Car caarsDb = CompanyManager.AddCars(model.EmployeeId, model.CarTypes);
            EmployeeCarModel viewModel = Mapper.Map <EmployeeCarModel>(caarsDb);

            return(viewModel);
        }