Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
blog_lab2_sab
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Jan H
blog_lab2_sab
Commits
c6aa3c01
Commit
c6aa3c01
authored
3 years ago
by
Jan H
Browse files
Options
Downloads
Patches
Plain Diff
Update Blog.DAL/Repository/BlogRepository.cs
parent
6ae5ab5a
Branches
remote-run/testfix
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Blog.DAL/Repository/BlogRepository.cs
+2
-1
2 additions, 1 deletion
Blog.DAL/Repository/BlogRepository.cs
with
2 additions
and
1 deletion
Blog.DAL/Repository/BlogRepository.cs
+
2
−
1
View file @
c6aa3c01
using
System.Collections.Generic
;
using
System.Collections.Generic
;
using
Blog.DAL.Infrastructure
;
using
Blog.DAL.Model
;
using
System
;
...
...
@@ -16,6 +16,7 @@ namespace Blog.DAL.Repository
public
IEnumerable
<
Post
>
GetAllPosts
()
{
return
new
List
<
Post
>();
return
_context
.
Posts
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment