public string RegisterMechanic(MechanicViewModel Mechanic) { Mechanic registerMechanic = mapper.Map <MechanicViewModel, Mechanic>(Mechanic); return(_MechanicRepository.RegisterMechanic(registerMechanic)); }