Spontaneous.WebApp.Models.LocationModel.toLoaction C# (CSharp) Method

toLoaction() public method

public toLoaction ( ) : Location
return Spontaneous.DataModel.Location
        public Location toLoaction()
        {
            Location location = new Location();
            location.Latitude = this.Latitude;
            location.Longitude = this.Longitude;
            return location;
        }