public static int AddNotification(Notifications oNotification) { var oNoti = new TMSDataLibrary.Notifications(); return oNoti.AddNotification(oNotification.Title, oNotification.Message, oNotification.FromUserId, oNotification.ToUserId); }