public static EmployeeTerritoryDto ToEmployeeTerritoryDto(EmployeeTerritory model)
 {
     return(new EmployeeTerritoryDto {
         EmployeeId = model.EmployeeId,
         TerritoryId = model.TerritoryId,
     });
 }
        public static EmployeeTerritory EmployeeTerritory(int employeeId, string territoryId)
        {
            EmployeeTerritory employeeTerritory = new EmployeeTerritory();

            employeeTerritory.EmployeeId  = employeeId;
            employeeTerritory.TerritoryId = territoryId;
            return(employeeTerritory);
        }
        /// <summary>Employee territory.</summary>
        /// <param name="employeeId"> Identifier for the employee.</param>
        /// <param name="territoryId">Identifier for the territory.</param>
        /// <returns>An EmployeeTerritory.</returns>
		public static EmployeeTerritory EmployeeTerritory(int employeeId, string territoryId)
		{
			EmployeeTerritory employeeTerritory = new EmployeeTerritory();
			employeeTerritory.EmployeeId = employeeId;
			employeeTerritory.TerritoryId = territoryId;
			return employeeTerritory;
		}
		public static EmployeeTerritoryDto ToEmployeeTerritoryDto(EmployeeTerritory model)
		{
			return new EmployeeTerritoryDto {
				EmployeeId = model.EmployeeId,
				TerritoryId = model.TerritoryId,
			};
		}