Value shown in production other than development

0

I have an application in ASP.NET MVC with the Entity Framework with an Oracle database, and it is showing some wrong data, and this happens only in production, in Debug (locally) the data is brought right .

This data is written from another system. My system just picks up the data, directly in the database, without API, and shows the data.

This is the function used.

public List<Escala> GetByFunc(int motCodigo, DateTime data)
{
    try
    { 
        return Db.Escala.Where(x => x.MotoristaCodigo == motCodigo && x.Data == data)
                        .OrderByDescending(x => x.Data).ToList();
    }
    catch(Exception)
    {
        return null;
    }
}

Thanks for the help.

    
asked by anonymous 05.04.2017 / 14:38

0 answers