Posts by Jonathan Santiago • 111 points
2 posts
-
0
votes3
answers271
viewsA: I can’t do addiction injection
Your service user gets right Iusuariorepository, in this case you have to pass services.AddTransient<IUsuarioRepository, UsuarioRepository>(); services.AddSingleton<IUsuarioService,…
-
1
votes3
answers1724
viewsA: Add Datagrid column with valid values only
Use Lynne, this will solve your problem: using System.Linq; dgv_inico.AsEnumerable().Sum(c => c.Field<double>("valor"))