/// <summary> /// Gets all reasons. /// </summary> /// <returns></returns> public static object GetAllReasons() { var reasons = new ShortageReasons(); //reasons.LoadAll(); reasons.Query.Load(); return reasons.DefaultView; }
/// <summary> /// Gets all reasons. /// </summary> /// <returns></returns> public static object GetAllReasons() { var reasons = new ShortageReasons(); //reasons.LoadAll(); reasons.Query.Load(); return(reasons.DefaultView); }