Exemple #1
0
        public Task <CommunityModel> getCommunitybyId(int community)
        {
            string sql = "select * from CommunityTable where Id = @community;";

            //string sql = "select * from dbo.CommunityTable where Id = @community;";
            return(_db.LoadDataOne <CommunityModel, dynamic>(sql, new { }));
        }