예제 #1
0
 public bool Login(Credentials c)
 {
     var cl = new Ref.FileSyncModelClient();
     try {
         bool result = false;
         result = cl.Login(c);
         cl.Close();
         return result;
     } catch (Exception ex) {
         cl.Abort();
         throw new ActionException("Login process did not end in a very happy manner. "
             + "In fact, it ended in a very unpleasant way.",
             ActionType.User, ex, MemeType.AreYouFuckingKiddingMe);
     }
 }