Skip to content

Instantly share code, notes, and snippets.

@serkanince
Created October 11, 2019 14:33
Show Gist options
  • Save serkanince/65155d60371d527d10d9690f55bcc313 to your computer and use it in GitHub Desktop.
Save serkanince/65155d60371d527d10d9690f55bcc313 to your computer and use it in GitHub Desktop.
Repository-Sample
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace Sample.Repository
{
public class SehirRepository
{
AzureDBContext _context;
public SehirRepository(AzureDBContext context)
{
_context = context;
}
public SehirEntity getAll(SehirEntity entity)
{
return _context.SehirEntity.GetAll();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment