public static StatusView EditarStatus(StatusView status, string AlteradoPor, DateTime AlteradoEm) { Status objdomin = status.DeViewParaDomin(); objdomin.AlteradoPor = AlteradoPor; objdomin.AlteradoEm = AlteradoEm; status = Executar.Cadastro.Status.AtualizarStatus(objdomin).DeDominParaView(); return(status); }
public static StatusView CriarNovoStatus(StatusView status, string CriadoPor, DateTime CriadoEm) { Status objdomin = status.DeViewParaDomin(); objdomin.CriadoPor = CriadoPor; objdomin.CriadoEm = CriadoEm; status = Executar.Cadastro.Status.CriarNovoStatus(objdomin).DeDominParaView(); return(status); }
public static bool ExcluirStatus(StatusView status, string AlteradoPor, DateTime AlteradoEm) { Status objdomin = status.DeViewParaDomin(); objdomin.AlteradoPor = AlteradoPor; objdomin.AlteradoEm = AlteradoEm; bool ret = Executar.Cadastro.Status.ExcluirStatus(objdomin); return(ret); }