public int SelectCount(string username, MessageType type, string sort, int skip, int take) { return(_svc.CountMessages(username, type)); }