Closed italojs closed 7 years ago
Added two new methods at ValidationContract class:
/// <summary> /// Given an string, add a notification if it's Null or Empty /// </summary> /// <param name="str">Property</param> /// <param name="message">Error Message (Optional)</param> /// <returns></returns> - IsNotNullOrEmpty(string str, string message)
/// <summary> /// Given an string, add a notification if it's Empty /// </summary> /// <param name="str">Property</param> /// <param name="message">Error Message (Optional)</param> /// <returns></returns> - IsNotEmpty(string str, string message)
Added two new methods at ValidationContract class: