Permalink
Cannot retrieve contributors at this time
Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign up
Fetching contributors…

using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Stateless1; | |
namespace WebApi1.Model | |
{ | |
public interface ISomeRepo | |
{ | |
Task<string> GetSomething(); | |
} | |
public class SomeRepo : ISomeRepo | |
{ | |
private readonly IStateless1 _service; | |
public SomeRepo(IStateless1 service) | |
{ | |
_service = service; | |
} | |
public async Task<string> GetSomething() | |
{ | |
return await _service.GetHello(); | |
} | |
} | |
} |