Exemple #1
0
 public override StandardReturType ValidateInput()
 {
     if (string.IsNullOrEmpty(string.Format("{0}", ApplicationName).Trim()))
     {
         return(StandardReturType.NullInput());
     }
     if (Data.Applications.Application.NameExists(ApplicationName))
     {
         return(StandardReturType.ApplicationNameExists(ApplicationName));
     }
     return(StandardReturType.OK());
 }