Пример #1
0
        public string DeleteAppView()
        {
            //if (!(Map is DuradosMap && Maps.IsSuperDeveloper(null)))
            //{
            //    Maps.Instance.DuradosMap.Logger.Log("DeleteAppApplication"+SystemInformation.ComputerName, this.ControllerContext.RouteData.Values["action"].ToString(), null, "Accessd by non-super developer in a spesific app", null, 1, null, DateTime.Now);
            //    return "This action is not allowd";
            //}
            ProductMaintenance productMaintenece = new  ProductMaintenance(resultOutput);

            try
            {
                return(productMaintenece.RemoveApps(null, null));
            }
            catch (Exception ex)
            {
                logger.Log("DeleteAppApplication" + SystemInformation.ComputerName, "DeleteAppView", null, ex, 1, null);
                return("An Error occured while tring to delete apps:" + ex.Message);
            }
        }