changed references to User.Id to User.UserId. added relativePath option to createRequestUrl(..). added documentation to returnButtonClick and createRequestUrl methods. changed initDatePicker to have separate assign handler method to make code simpler. changed all URL references to relative urls, no longer JSONP/crossdomain compatible. tidied code. added query parameter to home/users page. added search getJson method. changed all property names to match the WebApi endpoint. added js to conditionally highlight the datepicker row on hover. changed script and css references to proper CDN urls. tidied html. added form for querying user list. UserController will conditionally choose to GetUsersList or Search, based on Query Parameter. Add search method to IRepository Implement Search method on IRepository interface added search procedure to SQLiteProcedures added Query property to UserList to allow UI to display the last filter/query parameter.
17 lines
419 B
C#
17 lines
419 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Interfaces
|
|
{
|
|
public class UserList
|
|
{
|
|
public UserList()
|
|
{
|
|
Users = new List<User>();
|
|
}
|
|
public string Query { get; set; }
|
|
public int UserCount { get { return Users.Count; } }
|
|
public List<User> Users { get; set; }
|
|
public int PageSize { get; set; }
|
|
public int PageNumber { get; set; }
|
|
}
|
|
} |