// GET: Position
 public ActionResult Index()
 {
     using (PositionContext context = new PositionContext())
     {
         Position position = context.Positions.First();
         return View(position);
     }
 }
 public ActionResult SetPosition(double longitude, double latitude)
 {
     // localhost:58718/Position/SetPosition?latitude=48.19541602&longitude = 11.61310136
     ActionResult result;
     using (PositionContext positionContext = new PositionContext())
     {
         Position position = positionContext.Positions.First<Position>();
         position.Longitude = longitude;
         position.Latitude = latitude;
         position.Time = DateTime.Now;
         positionContext.SaveChanges();
         result = new HttpStatusCodeResult(System.Net.HttpStatusCode.OK);
     }
     return result;
 }