Hi,
This is my table :
This is my controller :
[HttpGet]
[Route("Read")]
//api/notifications/read
public int ReadNotification(int NotificationId)
{
return _notification.ReadNotification(NotificationId);
}
When I call this controller change the IsRead column is 1
Please give me linq to sql query for that.
Thank you.