public IActionResult DeleteMessage(string id) { _messageService.DeletePrivateMessage(id); return(RedirectToAction("Profile", "User")); }
public IActionResult DeleteMessage(string id) { _messageService.DeletePrivateMessage(id); return(RedirectToAction("Profile", "User")); }