Exemplo n.º 1
0
 public ActionResult Touch(Dictionary<string, string> env, string[] args)
 {
     var file = new BlobFile2(User.Identity.Name, env["path"] + args[0]);
     if (!file.Exists())
     {
         file.CreateEmptyFile();
         return SuccessWrapper(String.Format("File \"{0}\" Created", args[0]));
     }
     return SuccessWrapper(String.Format("File \"{0}\" Updated", args[0]));
 }