public ActionResult DeleteLike(int userId, int postId) { try { _likesService.DeleteLike(userId, postId); } catch (FlowException ex) { return(NotFound(ex.Message)); } catch (Exception) { return(StatusCode(500, "An error has occured!Try again later!")); } return(Ok()); }