public void PropertiesTest() { // preparation var model = new NotificationPullResult(); // model property access Helper.ModelTestHelper.PropetiesTest(model); }
private IActionResult GetMessages(DateTime lastClientUpdateTime) { var result = new NotificationPullResult(); DateTime lastNotificationTime; result.Messages = Notification.GetNotificationMessages(lastClientUpdateTime, out lastNotificationTime).ToArray(); result.LastNotificationTime = lastNotificationTime; return(new OkObjectResult(result)); }
private IActionResult GetMessages(NotificationPullParameter param) { var result = new NotificationPullResult(); DateTime lastNotificationTime; result.Messages = Notification.GetNotificationMessages(param.LastNotificationTime, out lastNotificationTime).ToArray(); result.LastNotificationTime = lastNotificationTime; return(new OkObjectResult(result)); }
public void CreateMethod() { // action var model = new NotificationPullResult(); }