hi guys , this is my question i need to use a result of a method in other method basicly a need to range the result of first method in a second method
something like this
public IEnumerable<anything> namemethod(long anyname)
{
the variable = from estilos in contexto_Etc.Estilo
where estilodetalle.StyleId.Equals(idestilo)
orderby estilodetalle.Ordinal
select new DetalleEtcViewModel
{
Orden = estilodetalle.Ordinal,
NombreOperacion = (a.OperationName == null) ? estilodetalle.Description : a.OperationName,
NombreDepartamento = a.Departments.DepartmentName,
Sam = Convert.ToDecimal(a.TotalSAM ?? 0)
};
return the variable;
}
so, how can i use this varialbe in other method
thank a lot
...
Go to the complete details ...