public async Task <long> AddPost(Role model) { var postId = await dep.AddPost(model); if (postId > 0) { return(postId); } else { return(0); } }