fix
This commit is contained in:
@@ -41,4 +41,9 @@ public class CurrencyRepository : AppRepository<Currency>, ICurrencyRepository
|
||||
{
|
||||
return RemoveBase(currency) > 0;
|
||||
}
|
||||
|
||||
public List<Currency> GetPrimaries(Guid userId)
|
||||
{
|
||||
return _context.Currencies.Where(x => x.UserId == userId && x.IsPrimary).ToList();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user