/// <summary> /// Method for get all posts /// </summary> /// <param name="isAuth"></param> /// <returns></returns> public List <Post> GetAllPost(bool isAuth) { return(Repo.GetAllPost(isAuth)); }