Add in mark as reaad button to list view, use ajax to preform the action without page refresh.
This commit is contained in:
@@ -19,8 +19,7 @@ type MessageService interface {
|
||||
GetByID(userID, id int64) (*Message, error)
|
||||
Create(userID int64, in CreateMessageInput) (int64, error)
|
||||
Archive(userID, id int64) error
|
||||
//Restore()
|
||||
//ToDo: implement
|
||||
Unarchive(userID, id int64) error
|
||||
//MarkRead(userID, id int64) error
|
||||
MarkRead(userID, id int64) error
|
||||
//MarkUnread(userID, id int64) error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user