git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C163
This commit is contained in:
parent
8153e87d6a
commit
6e8747b0df
1 changed files with 8 additions and 3 deletions
|
|
@ -390,10 +390,15 @@ namespace AYA.SlnSinort.WCF
|
||||||
|
|
||||||
public ProyectoNormativoJSON InsertarActualizarTareasPendientes(ProyectoNormativoJSON model)
|
public ProyectoNormativoJSON InsertarActualizarTareasPendientes(ProyectoNormativoJSON model)
|
||||||
{
|
{
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
model = new TareasPendientesDAL().InsertarActualizarTareasPendientes(model);
|
var tareasDAL = new TareasPendientesDAL();
|
||||||
|
foreach (var tareas in model.ListaTareasPendientes)
|
||||||
|
{
|
||||||
|
model.TareasPendientes = tareas;
|
||||||
|
tareasDAL.InsertarActualizarTareasPendientes(model);
|
||||||
|
}
|
||||||
|
|
||||||
model.CodigoRespuesta = EnumTipoCodigoRespuesta.EXITOSO;
|
model.CodigoRespuesta = EnumTipoCodigoRespuesta.EXITOSO;
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue