public async Task <Template> UpdateTemplate(Template template) { dbContext.Update(template); await dbContext.SaveChangesAsync(); return(template); }
public async Task <Form> UpdateForm(Form form) { dbContext.Update(form); await dbContext.SaveChangesAsync(); return(form); }