private SalesData.Manager ToEntity(Manager manager) { var entityManager = new SalesData.Manager() { ManagerID = manager.Id, MangerName = manager.Name }; return entityManager; }
private Manager ToObject(SalesData.Manager manager) { var objectManager = new Manager(manager.ManagerID, manager.MangerName); return objectManager; }