public static E_ValuateDataAccess.DataModels.Address MapAddress(E_valuateDomain.DomainModels.Users address) { return(new E_ValuateDataAccess.DataModels.Address { Street = address.Street, City = address.City, Zip = address.Zip, State = address.State, Country = address.Country }); }
///------------------------------------------------------------------------------------------------------------------- ///------------------------------------------------------------------------------------------------------------------- ///--------------------------------------------Data Models------------------------------------------------------------ ///------------------------------------------------------------------------------------------------------------------- ///------------------------------------------------------------------------------------------------------------------- public static E_ValuateDataAccess.DataModels.Users MapUsers(E_valuateDomain.DomainModels.Users users) { return(new E_ValuateDataAccess.DataModels.Users { UserId = users.UserID, FullName = users.fullName, Username = users.userName, Telephone = users.Telephone, Email = users.Email, Password = users.Password, Dob = users.DOB, Platform = users.Platform }); }