Created
February 28, 2021 08:21
-
-
Save kelumKP/15e5a536c24657ee334ce2a5111dd292 to your computer and use it in GitHub Desktop.
Sample Service Implementation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SampleService : ISampleService | |
{ | |
IContext _context; | |
public SampleService(IContext context) | |
{ | |
_context = context; | |
} | |
public List<SampleTable> GetSampleList() | |
{ | |
var availabelData = _context.SampleTables.ToList(); | |
return availabelData; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment