Ejemplo n.º 1
0
Archivo: Map.cs Proyecto: vinhtk/MyMap
        //***********************   MANAGER POINT   ************************//



        /// <summary>
        /// Insert new Points
        /// </summary>
        /// <param name="IdUser"></param>
        /// <param name="NamePoint"></param>
        /// <param name="Lat"></param>
        /// <param name="Lg"></param>
        /// <param name="Inform"></param>
        /// <param name="Address"></param>
        /// <returns></returns>
        public string Create(string IdUser, string NamePoint, double Lat, double Lg, string Inform, string Address)
        {
            Point Point = new Point
            {
                IdUser    = IdUser,
                NamePoint = NamePoint,
                Lat       = Lat,
                Lg        = Lg,
                Inform    = Inform,
                Address   = Address
            };

            return(MapProvider.Create(Point));
        }