Ejemplo n.º 1
0
 public ActionResult Details(EquipmentPointRoleViewModel Model, string pointId)
 {
     if (!string.IsNullOrEmpty(pointId))
     {
         ViewBag.AccessToken = _buildingService.GetAccessToken(Model.SelectedCompany);
         ViewBag.pointUrl    = _buildingService.APIBaseUrl.AppendPathSegment("building/points").AppendPathSegment(pointId).ToString();
     }
     return(View());
 }