private void CreateService()
        {
            var builder = new DbContextOptionsBuilder <SMContext>().UseSqlServer("Server=.\\SQLEXPRESS;Database=MariaDB;Trusted_Connection=True;");

            _SMContext = new SMContext(builder.Options);
            _ISesion   = new InitSesion(_SMContext);
        }
 public SesionController(ISesion iSesion, SMContext sMContext)
 {
     _IISesion  = iSesion;
     _SMContext = sMContext;
 }